package cn.ycxy.lbl.pojo.repairs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@ApiModel("获取维修上报列表条件模板")
@Data
public class MaintainInfoListDTO {

    @ApiModelProperty(value = "维修进度:-1-全部; 0-待处理,1-处理中,2-已完成,3-已撤销", required = true)
    @NotNull(message = "查询的帖子所属模块的类型不能为空!")
    private Integer status;

    @ApiModelProperty(value="页码", required = true)
    @NotNull(message = "分页页码不能为空!")
    private Integer pageNo;

    @ApiModelProperty(value="条数", required = true)
    @NotNull(message = "分页每页条数不能为空!")
    private Integer pageSize;
}
